<template>
  <div class="HomePage_Carousel">
    <homePageCarouselLeft></homePageCarouselLeft>
    <div class="HomePage_Carousel_right">
      <el-carousel
        trigger="click"
        height="430px"
        class="HomePage_Carousel_right_carousel"
      >
        <el-carousel-item
          v-for="item in 4"
          :key="item"
          class="HomePage_Carousel_right_carousel_item"
        >
          <div style="width: 230px"></div>
          <div class="item-content">
            <p>MARSHALL MAJORII</p>
            <p>头戴式线控耳机</p>
            <p class="item-description">更舒适的聆听体验</p>
            <el-button type="danger " class="buy-button">立即购买</el-button>
          </div>
          <img src="@/assets/images/u962.png" alt="" />
        </el-carousel-item>
      </el-carousel>
    </div>
  </div>
</template>
<script>
import homePageCarouselLeft from "./homePageCarouselLeft.vue";
export default {
  components: { homePageCarouselLeft },
  data() {
    return {
      show3: false,
    };
  },
  methods: {},
};
</script>
<style lang="scss" scoped>
.transition-box {
  margin-bottom: 10px;
  width: 200px;
  height: 100px;
  border-radius: 4px;
  background-color: #409eff;
  text-align: center;
  color: #fff;
  padding: 40px 20px;
  box-sizing: border-box;
  margin-right: 20px;
}
.HomePage_Carousel {
  position: relative;
  width: 100%;
  height: 100%;

  .HomePage_Carousel_right {
    background-color: #f2f2f2;

    .HomePage_Carousel_right_carousel_item {
      display: flex;
      justify-content: space-between;

      .item-content {
        padding-left: 120px;
        padding-top: 95px;
        color: #999;
        font-size: 36px;
        text-align: left;
        font-weight: 700;

        .item-description {
          font-size: 24px;
          font-weight: normal;
        }

        .buy-button {
          margin-top: 20px;
          padding: 15px 60px;
        }
      }
    }

    ::v-deep .el-carousel__button {
      background-color: #ccc;
      height: 10px;
      width: 10px;
      border-radius: 50%;
    }

    ::v-deep .el-carousel__indicator.is-active button {
      background-color: #fff;
      border: 1px solid #ccc;
      height: 12px;
      width: 12px;
    }
    ::v-deep .el-carousel__arrow--left {
      left: 245px;
    }
  }
}
</style>
